FROM apache/superset
# Switching to root to install the required packages
USER root
# install mysql client
RUN pip install mysqlclient

# add Chinese language package
ADD superset_config.py /app/pythonpath

ADD messages.mo /app/superset/translations/zh/LC_MESSAGES/messages.mo

USER superset
